
package bibliotheque.events;

import bibliotheque.document.Document;
import bibliotheque.document.DocumentId;
import java.util.EventObject;

/**
 *
 * @author guillaume
 */
public class TransactionResultReadOccuredEvent extends EventObject {
    
    private String resultRead;
    private final DocumentId docId;
    
    public TransactionResultReadOccuredEvent(Object source, DocumentId docId, String resultRead) {
        super(source);
        this.resultRead = resultRead;
        this.docId = docId;
    }
    
    public String GetReadContentResult() {
        return this.resultRead;
    }
    
    public DocumentId GetReadDocIdResult() {
        return this.docId;
    }
    
}
